using AutoMapper;

namespace Joy.Erp.BasicArchives.Procurements
{
    public class PurchaseOrderTypeAutoMapperProfile : Profile
    {
        public PurchaseOrderTypeAutoMapperProfile()
        {
            CreateMap<PurchaseOrderType, PurchaseOrderTypeDto>().MapExtraProperties().ReverseMap();
            CreateMap<PurchaseOrderType, PurchaseOrderTypeCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<PurchaseOrderType, PurchaseOrderTypeUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
}